package cn.psvmc.cxzapi.model.store;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 优惠券商品表
 * @Author auto
 * @Date 2024-08-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_coupon_goods")
public class TCouponGoods implements Serializable {

    //优惠券商品id
    @TableId(value = "ccid", type = IdType.AUTO)
    private Integer ccid;

    //优惠券id
    @TableField("couponid")
    private Integer couponid;

    //商品id
    @TableField("goods_id")
    private Integer goodsId;

    //创建人id
    @TableField(value = "createid", fill = FieldFill.INSERT)
    private Integer createid;

    //创建时间
    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private LocalDateTime createtime;


}
